API ReferenceOrganizations
Get Team Spend Limit
Get Team Spend Limit
GET/v2/organizations/{orgId}/teams/{teamId}/spend-limit
Usage
TypeScript Example
import { v0 } from 'v0-sdk'const result = await v0.organizations.teams.getSpendLimit({ orgId: 'org_pqr901', teamId: 'team_stu234',})console.log(result)API Signature
Request
Path Parameters
orgId: string
The unique identifier of the organization.
teamId: string
The unique identifier of the team.
Response
entityId: string
The team ID or organization ID this limit applies to.
limit: integer
The spend limit in dollars.
source: 'team' | 'organization'
Whether this limit is set at the team or organization level.
createdAt: string
ISO timestamp of when the spend limit was created.
updatedAt: string
ISO timestamp of when the spend limit was last updated.